import request from 'UTIL/request'

/**
 * 待审核合同
 */
export function CheckContract(data) {
  return request({
    url: 'crmBackLog/checkContract',
    method: 'POST',
    data: data
  })
}

/**
 * @description: 待审核客户 checkCustomer
 * @author: kate同学
 * @date: 2022/12/28 15:49
 */
export function CheckCustomer(data) {
  return request({
    url: 'crmBackLog/checkCustomer',
    method: 'POST',
    data: data
  })
}
/**
 * @description:
 * @author: kate同学
 * @date: 2022/12/28 15:49
 */

/**
 * 待审核回款
 */
export function CheckReceivables(data) {
  return request({
    url: 'crmBackLog/checkReceivables',
    method: 'POST',
    data: data
  })
}

/**
 * 今日需联系客户
 */
export function TodayCustomer(data) {
  return request({
    url: 'crmBackLog/todayCustomer',
    method: 'POST',
    data: data
  })
}

/**
 * 待进入公海的客户
 */
export function PutInPoolRemind(data) {
  return request({
    url: 'crmBackLog/putInPoolRemind',
    method: 'POST',
    data: data
  })
}

/**
 * 待跟进线索
 */
export function FollowLeads(data) {
  return request({
    url: 'crmBackLog/followLeads',
    method: 'POST',
    data: data
  })
}

/**
 * 待跟进客户
 */
export function FollowCustomer(data) {
  return request({
    url: 'crmBackLog/followCustomer',
    method: 'POST',
    data: data
  })
}

/**
 * 待回款合同
 */
export function RemindReceivablesPlan(data) {
  return request({
    url: 'crmBackLog/remindReceivables',
    method: 'POST',
    data: data
  })
}

/**
 * 即将到期合同
 */
export function EndContract(data) {
  return request({
    url: 'crmBackLog/endContract',
    method: 'POST',
    data: data
  })
}

/**
 * 今日需联系线索
 */
export function TodayLeads(data) {
  return request({
    url: 'crmBackLog/todayLeads',
    method: 'POST',
    data: data
  })
}

/**
 * 今日需联系商机
 */
export function TodayBusiness(data) {
  return request({
    url: 'crmBackLog/todayBusiness',
    method: 'POST',
    data: data
  })
}

/**
 * 客户标记跟进
 */
export function CustomerSetFollow(data) {
  return request({
    url: 'crmBackLog/setCustomerFollowup',
    method: 'POST',
    data: data
  })
}

/**
 * 线索标记跟进
 */
export function LeadsSetFollow(data) {
  return request({
    url: 'crmBackLog/setLeadsFollowup',
    method: 'POST',
    data: data
  })
}

/**
 * 待办消息数
 */
export function MessageNum(data) {
  return request({
    url: 'crmBackLog/num',
    method: 'POST',
    data: data,
    hideLoading: true
  })
}

/**
 * 全部标记为已处理
 */
export function CrmBacklogAllDeal(data) {
  return request({
    url: 'crmBackLog/allDeal',
    method: 'POST',
    data: data,
		requestType: 'form'
  })
}
